package com.net.xpay.common.dao.openapi;

import com.net.xpay.common.domain.openapi.OpenApp;
import com.net.common.dao.Page;
import com.net.common.dao.PagedMapper;
import com.net.common.annotation.DataCommon;
import com.net.xpay.core.model.OpenAppSearchModel;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@DataCommon
@Repository
public interface OpenAppMapper extends PagedMapper<Long, OpenApp> {
    List<OpenApp> search(@Param("searchModel")OpenAppSearchModel searchModel,@Param("page") Page page);

    long searchCount(@Param("searchModel") OpenAppSearchModel searchModel);
}
